﻿using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace StudentWeb.Models
{
    public class StudentContext : IdentityDbContext<IdentityUser>
    {
        public StudentContext(DbContextOptions<StudentContext> options):base (options)
        {

        }

        public DbSet<Student> Students { get; set; }
        public DbSet<User> users { get; set; }
    }
}
